package com.it.security.sys.mapper;


import com.it.base.mapper.BaseMapper;
import com.it.security.sys.entity.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @program: learning
 * @description:
 * @author: Lefnmg
 * @create: 2018-11-02 23:33
 **/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名获取相关权限菜单
     * @param username
     * @return
     */
    List<String> findPermissionsByUsername(String username);
}
